package com.pactera.madp.cp.api.vo.medium;

import com.pactera.madp.cp.api.dto.medium.MediumGroupDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * MediumGroupVO
 *
 * @author jun
 * @version 1.0
 * 2021/6/9 17:14
 **/
@Data
public class MediumGroupVO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "parentId")
    private Integer parentId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "部门列表")
    private List<Map<String, Object>> depts;

    @ApiModelProperty(value = "可见范围")
    private Integer visibleRange;

    @ApiModelProperty(value = "子分组列表")
    private List<MediumGroupDTO> children;

}
